﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JJNormalAdd.aspx.cs" Inherits="UI.ModSalary.JJAddNormal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>增加计件工资---普通录入界面</title>
       <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
        <script type="text/javascript" src="../JS/jsFunction.js"></script>
         <script type="text/javascript" src="../JS/calendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <br />
      <p style="text-align: center; font-size: large;">
        <strong>增加计件工资</strong></p>
   <table align="center" width="680" border="0" cellspacing="0" cellpadding="0"  style="font-size:9pt;">
 <tr>
    <td width="67" height="48">&nbsp;</td>
    <td width="105">&nbsp;</td>
    <td width="67">传票号</td>
    <td width="105">
        <asp:TextBox ID="txtJJCode" runat="server" Width="90px" CssClass="InputLineCss" 
            MaxLength="18"></asp:TextBox>
     </td>
    <td width="67">工票日期</td>
    <td width="105">
        <asp:TextBox ID="txtJJTime" runat="server" Width="90px" CssClass="InputLineCss" 
            MaxLength="10"></asp:TextBox>
     </td>
    <td width="67">&nbsp;</td>
    <td width="97">&nbsp;</td>
  </tr>
  </table>
   <table align="center" width="680" border="0" cellspacing="0" cellpadding="0"  class="tableRecOrder" style="font-size:9pt;">

  <tr>
    <td height="25">&nbsp;员工工号</td>
    <td>
        <asp:TextBox ID="txtEmpCode" runat="server" Width="65px" CssClass="InputCss" 
            AutoPostBack="True" ontextchanged="txtEmpCode_TextChanged"></asp:TextBox>
             <a href="javascript:ShowLink('../ModEmployee/ZipSeaForIn.aspx',880,550)"><img src="../Images/Search.gif" alt="搜索" width="27" height="12" border="0" /></a>
      </td>
    <td>姓名</td>
    <td>
        <asp:Label ID="lbEmpName" runat="server"></asp:Label>
      </td>
    <td>部门</td>
    <td>
        <asp:Label ID="lbDeptName" runat="server"></asp:Label>
      </td>
    <td>职位</td>
    <td>
        <asp:Label ID="lbDutyName" runat="server"></asp:Label>
      </td>
  </tr>
  <tr>
    <td height="25">&nbsp;产品编号</td>
    <td>
        <asp:DropDownList ID="ddlProCode" runat="server" CssClass="InputCss" 
            AutoPostBack="True" onselectedindexchanged="ddlProCode_SelectedIndexChanged">
        </asp:DropDownList>
      </td>
    <td>产品名称</td>
    <td>
        <asp:Label ID="lbProName" runat="server"></asp:Label>
      </td>
    <td>产品型号</td>
    <td>
        <asp:Label ID="lbProModel" runat="server"></asp:Label>
      </td>
    <td>类别</td>
    <td>
        <asp:Label ID="lbTypeName" runat="server"></asp:Label>
      </td>
  </tr>
  <tr>
    <td height="25">&nbsp;工序号</td>
    <td>
        <asp:DropDownList ID="ddlProcessCode" runat="server" CssClass="InputCss" 
            AutoPostBack="True" 
            onselectedindexchanged="ddlProcessCode_SelectedIndexChanged">
        </asp:DropDownList>
      </td>
    <td>工序名称</td>
    <td>
        <asp:Label ID="lbProcName" runat="server"></asp:Label>
      </td>
    <td>工序单价</td>
    <td>
        <asp:TextBox ID="txtPrice" runat="server" Width="60px" CssClass="InputCss">0</asp:TextBox>
      </td>
    <td>废扣单价</td>
    <td>
        <asp:TextBox ID="txtScrapSal" runat="server" Width="60px" CssClass="InputCss">0</asp:TextBox>
      </td>
  </tr>
  <tr>
    <td height="25">&nbsp;合格数量</td>
    <td>
        <asp:TextBox ID="txtNum" runat="server" Width="60px" AutoPostBack="True" 
            CssClass="InputCss" ontextchanged="txtNum_TextChanged">1</asp:TextBox>
      </td>
    <td>金额</td>
    <td>
        <asp:TextBox ID="txtNumAmount" runat="server" Width="60px" CssClass="InputCss">0</asp:TextBox>
      </td>
    <td>废扣数量</td>
    <td>
        <asp:TextBox ID="txtScrapNum" runat="server" Width="60px" AutoPostBack="True" 
            CssClass="InputCss" ontextchanged="txtScrapNum_TextChanged">0</asp:TextBox>
      </td>
    <td>废扣扣款</td>
    <td>
        <asp:TextBox ID="txtScrapAmount" runat="server" Width="60px" 
            CssClass="InputCss">0</asp:TextBox>
      </td>
  </tr>
  <tr>
    <td height="25">&nbsp;计件工资</td>
    <td>
        <asp:TextBox ID="txtJjSalary" runat="server" Width="60px" CssClass="InputCss"></asp:TextBox>
      </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>备注</td>
   <td colspan="3">
    <asp:TextBox ID="txtMemo" runat="server" Width="232px" CssClass="InputCss"></asp:TextBox>
      </td>
  </tr>
</table>
<p style="text-align: center; ">
<asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click"  />
          &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" OnClick="btnUpdate_Click"
             Enabled="False" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"
            OnClientClick="return confirm('确定要删除吗?\n');"  Enabled="False" />
 </p>
    </form>
</body>
</html>
